package request

type CreateOrderReq struct {
	UserId     int64  `json:"user_id"`
	GoodsId    int64  `json:"goods_id"`
	Quantity   int64  `json:"quantity"`
	Address    string `json:"address"`
	Price      int64  `json:"price"`
	Status     int64  `json:"status"`
	MerchantId int64  `json:"merchant_id"`
}

type OrderListReq struct {
	Page        int64 `form:"page"`
	Size        int64 `form:"size"`
	OrderByTime bool  `form:"order_by_time"`
}

type RiderOrderListReq struct {
	Status int64 `form:"status"`
}

type UserOrderListReq struct {
	UserId int64 `form:"user_id"`
}

type MerchantOrderListReq struct {
	MerchantId int64 `form:"merchant_id"`
}

type RiderRankReq struct {
}

type MerchantListReq struct {
	Title string `form:"title"`
}

type CreateAppointmentReq struct {
	MerchantId int64  `json:"merchantId"`
	UserId     int64  `json:"userId"`
	Date       string `json:"date"`
	Num        int64  `json:"num"`
	Mobile     string `json:"mobile"`
}

type AppointmentListReq struct {
	OrderByTime bool `form:"order_by_time"`
}

type AppointmentUpdateReq struct {
	Id     int64 `json:"id"`
	Status int64 `json:"status"`
}

type CommentAddReq struct {
	MerchantId int64  `json:"merchantId"`
	UserId     int64  `json:"userId"`
	Context    string `json:"context"`
}

type CommentListReq struct {
	MerchantId int64 `form:"merchantId"`
}
type GoodsListReq struct {
	MerchantId int64 `form:"merchantId"`
}

type AddressListReq struct {
	Name string `form:"name"`
}

type OperateListReq struct {
	Name string `form:"name"`
}
